package com.study.orderserviceprovider.controller;

import com.study.controller.OpenFeignInterface;
import com.study.entity.OrderDto;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OpenFeignController implements OpenFeignInterface {


    @Override
    public String getAllOrders() {
        return "Return All Orders";
    }

    @Override
    public int insertOrders(OrderDto dto) {
        return 1;
    }
}
